package com.hbk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("news_attachment")
@Data
public class NewsAttachment {

    @TableId(value = "attach_id", type = IdType.ASSIGN_ID)
    private String id;
    @TableField("attach_content_id")
    private String contentId;
    @TableField("attach_name")
    private String name;
    @TableField("attach_url")
    private String url;
    @TableField("attach_create_time")
    private Date createTime;
    @TableField("attach_order_num")
    private Integer orderNum;

}
